package design_pattern.study.decorator;

//具体构件（Concrete  Component）角色
//炒面
public class FriedNoodles extends FastFood {

    public FriedNoodles() {
        super(12, "炒面");
    }

    @Override
    public float cost() {
        return getPrice();
    }
}
